package com.ysjy.course.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("课时考勤")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CourseAttendDto implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "课时ID")
    private Long courseTimeId;
    @ApiModelProperty(value = "学生ID")
    private Long studentId;
    @ApiModelProperty(value = "学生姓名")
    private String studentName;
    @ApiModelProperty(value = "考勤状态：1出勤 2旷到 3请假")
    private Integer attenStatus;
    @ApiModelProperty(value = "请假原因")
    private String leaveReason;
    @ApiModelProperty(value = "补充说明")
    private String leaveExplain;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

}